@echo off
echo 正在编译打印测试程序...
g++ -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtCore test_print.cpp -lQt5Widgets -lQt5PrintSupport -lQt5Core -o test_print.exe
echo 编译完成.
pause